from evdev import InputDevice, list_devices;
print([InputDevice(path).name for path in list_devices()])
